package cn.yyx.customerservice.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lsj
 * @since 2023-10-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_customer")
@ApiModel(value="Customer对象", description="")
public class Customer implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "cid", type = IdType.ASSIGN_ID)
    private String cid;

    private String cname;

    private String phone;

    private String sex;

    private Date birthDay;

    private Date date;

    private String note;

    private Double totalprice;

    @ApiModelProperty(value = "1 表示预约  2 表示潜在 3 成交")
    private Integer status;

    private String saleId;

    private String operatorId;

    private Integer delstatus;

    private Date gmtModified;

    @TableField(exist = false)
    private List<String> fileList;

    @TableField(exist = false)
    private String sname;

    @TableField(exist = false)
    private String operatorName;



}
